from com.db.DBconn import DBconn

class Delete:
    def delete(self): 
        dbConn=DBconn()
        conn = dbConn.getConn()
        cursor = conn.cursor()
        sql='delete from t_student where id={0}'.format(3)
    
        cursor.execute(sql)
        conn.commit()
    
        conn.close()
x=Delete()
print(x.delete())